func go/types.makeSubstMap
11 uses
go/types (current package)
alias.go#L168: rhs := check.subst(pos, orig.fromRHS, makeSubstMap(orig.TypeParams().list(), targs), expanding, ctxt)
call.go#L633: sigParams = check.subst(call.Pos(), sigParams, makeSubstMap(tparams[:n], targs[:n]), nil, check.context()).(*Tuple)
infer.go#L110: smap := makeSubstMap(tparams, targs)
infer.go#L138: smap := makeSubstMap(tparams, targs)
infer.go#L421: smap := makeSubstMap(tparams, inferred)
instantiate.go#L166: sig := check.subst(pos, orig, makeSubstMap(tparams.list(), targs), nil, ctxt).(*Signature)
instantiate.go#L213: smap := makeSubstMap(tparams, targs)
named.go#L425: smap := makeSubstMap(origSig.RecvTypeParams().list(), t.inst.targs.list())
named.go#L668: smap := makeSubstMap(orig.tparams.list(), targs.list())
predicates.go#L364: smap := makeSubstMap(ytparams, targs)
subst.go#L20: func makeSubstMap(tpars []*TypeParam, targs []Type) substMap {